package com.molin.threadTest.threadVolatileTest.Demo1;

public class Nan implements Runnable{

    @Override
    public void run() {
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        Bank.money= Bank.money-10000;
    }
}
